<!-- ======= Header ======= -->
<header id="header">
    <div class="container">

        <div class="logo float-left">
            <h1 class="text-light"><a href="/"><span>王磊（22103048）
                  <a class="navbar-brand">Steam游戏库</a>
                </span></a></h1>
        </div>

        <nav class="navbar navbar-expand-lg navbar-light bg-light">
            <div class="container">
                <a class="navbar-brand" href="/">首页</a>
                <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse" id="navbarNav">
                    <ul class="navbar-nav me-auto">
                        <li class="nav-item">
                            <a class="nav-link" href="/index">数据分析</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/platform/Linux">Linux 游戏</a>
                        </li>
                         <li class="nav-item">
                            <a class="nav-link" href="/platform/Mac">Mac 游戏</a>
                        </li>
                     
                    </ul>
                    <form class="d-flex" action="/search" method="get">
                        <input class="form-control me-2" type="search" name="q" placeholder="搜索游戏..." aria-label="搜索游戏..." required>
                        <button class="btn btn-outline-success" type="submit">搜索</button>
                    </form>
                </div>
            </div>
        </nav>

    </div>
</header>